
package com.eshop.we.business.impl;

import com.alibaba.dubbo.config.annotation.Reference;
import com.baomidou.mybatisplus.plugins.Page;
import com.eshop.we.business.BaseBusinessImpl;
import com.eshop.we.business.LeaseOrderBusiness;
import com.eshop.we.leaseorder.api.LeaseOrderService;
import com.eshop.we.leaseorder.entity.LeaseOrder;
import org.springframework.stereotype.Service;

/**
 * @author wangzhanguo
 * @create 2018-06-04 15:31
 **/
@Service
public class LeaseOrderBusinessImpl extends BaseBusinessImpl<LeaseOrder,LeaseOrderService> implements LeaseOrderBusiness{
    @Reference
    private LeaseOrderService leaseOrderService;

    @Override
    public Page<LeaseOrder> selectIncomePage(Page<LeaseOrder> page) {
        return leaseOrderService.selectIncomePage(page);
    }

    @Override
    public Page<LeaseOrder> selectLeasePage(Page<LeaseOrder> page) {
        return leaseOrderService.selectLeasePage(page);
    }

    @Override
    public Page<LeaseOrder> selectLeaseOrderPage(Page<LeaseOrder> page, String orederNum, String providerName, String consumerName, String startDate, String endDate, Integer status) {
        return leaseOrderService.selectLeaseOrderPage(page,orederNum,providerName,consumerName,startDate,endDate,status);
    }
}

